package lineartable.linkedlist.singlylinkedlist;

/**
 * 单链表的节点类型
 */
public class SinglyLinkedNode {
    private char data;
    private SinglyLinkedNode next;

    public char getData() {
        return data;
    }

    public void setData(char data) {
        this.data = data;
    }

    public SinglyLinkedNode getNext() {
        return next;
    }

    public void setNext(SinglyLinkedNode next) {
        this.next = next;
    }
}
